<tem>

<!-- 添加角色模板 -->
<div class="template xd-template" id="add_role_template">
	<div class="panel-body no-tb-padder">
		<form class="bs-example form-horizontal xs-form" id="query_form">
				<input type="hidden" class="form-control input-sm" data-id="id" >
			<div class="form-group">
				<label class="col-lg-3 control-label required">角色名称：</label>
			    <div class="col-lg-8">
			        <input type="text" class="form-control input-sm" maxlength="50" data-id="roleName"  reg="notempty,byteLength:100" message="{notempty:'角色名称不能为空，且首尾不能有空格',byteLength:format('角色名称长度不能超过100个字符')}">
			    </div>
			</div>	
			<div class="form-group">
				<label class="col-lg-3 control-label required">功能模块：</label>
				<div class="col-lg-8">
					<ul id="accordion" class="ztree" style="height:100%;overflow:hidden;overflow-y:auto"></ul>
				</div>
			</div>			
		</form>
	</div>
</div>
</tem>